﻿using System.ComponentModel.DataAnnotations;

namespace MES.Server.API.Dto.InvoiceTicketDTO
{
    public class InvoiceDto
    {
        /// <summary>
        /// 开票单号
        /// </summary>
        public string InvoicingCode { get; set; }
        /// <summary>
        /// 开票主题
        /// </summary>
        public string InvoicingName { get; set; }
        /// <summary>
        /// 开票类型
        /// </summary>
        public string InvoicingType { get; set; }
        /// <summary>
        /// 开票时间
        /// </summary>
        public string InvoicingDate { get; set; }
        /// <summary>
        /// 开票金额
        /// </summary>
        public int InvoicingMomeny { get; set; }
        /// <summary>
        /// 开票方
        /// </summary>

        public string ReceiveInvoicing { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string InvoicingDesc { get; set; }
        /// <summary>
        /// 订单id
        /// </summary>
        public long OrderId { get; set; }
        /// <summary>
        /// 开票id
        /// </summary>
        public long InvoicingId { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderCode { get; set; }
        /// <summary>
        /// 下单人
        /// </summary>
        public string OrderSon { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderState { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 下单商品
        /// </summary>
        public string OrderGoods { get; set; }
        /// <summary>
        /// 客户Id
        /// </summary>
        public long ClientId { get; set; }
        /// <summary>
        /// 是否引入了mes
        /// </summary>
        public bool IsOrder { get; set; }
        public long Id { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreaterPeople { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        [StringLength(15)]
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdaterPeople { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
